package com.ruoyi.teacher.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试卷问题对象 t_paper_question
 * 
 * @author ruoyi
 * @date 2024-12-01
 */
public class TPaperQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 试卷ID */
    @Excel(name = "试卷ID")
    private Long pId;

    /** 问题ID */
    @Excel(name = "问题ID")
    private Long qId;

    /** 分数 */
    @Excel(name = "分数")
    private Long score;

    /** 排序号 */
    @Excel(name = "排序号")
    private Long orderNum;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setpId(Long pId) 
    {
        this.pId = pId;
    }

    public Long getpId() 
    {
        return pId;
    }
    public void setqId(Long qId) 
    {
        this.qId = qId;
    }

    public Long getqId() 
    {
        return qId;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pId", getpId())
            .append("qId", getqId())
            .append("score", getScore())
            .append("orderNum", getOrderNum())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("isDelete", getIsDelete())
            .append("remark", getRemark())
            .toString();
    }
}
